package cn.iocoder.yudao.module.game.service.withdrawalAccount;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.game.controller.admin.withdrawalAccount.vo.*;
import cn.iocoder.yudao.module.game.dal.dataobject.withdrawalAccount.WithdrawalAccountDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

/**
 * 提款账号 Service 接口
 *
 * @author 芋道源码
 */
public interface WithdrawalAccountService {

    /**
     * 创建提款账号
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createWithdrawalAccount(@Valid WithdrawalAccountSaveReqVO createReqVO);

    /**
     * 更新提款账号
     *
     * @param updateReqVO 更新信息
     */
    void updateWithdrawalAccount(@Valid WithdrawalAccountSaveReqVO updateReqVO);

    /**
     * 删除提款账号
     *
     * @param id 编号
     */
    void deleteWithdrawalAccount(Long id);

    /**
     * 获得提款账号
     *
     * @param id 编号
     * @return 提款账号
     */
    WithdrawalAccountDO getWithdrawalAccount(Long id);

    /**
     * 获得提款账号分页
     *
     * @param pageReqVO 分页查询
     * @return 提款账号分页
     */
    PageResult<WithdrawalAccountDO> getWithdrawalAccountPage(WithdrawalAccountPageReqVO pageReqVO);

}